// import { PartialType } from '@nestjs/mapped-types';
import { PartialType } from '@nestjs/swagger';
import { CreateCoffeeDto } from './create-coffee.dto';

// export class UpdateCoffeeDto {
//   readonly name?: string;
//   readonly brand?: string;
//   readonly flavors?: string;
// }
/* 
  PartialType 将继承到的属性都设置为可选
*/
export class UpdateCoffeeDto extends PartialType(CreateCoffeeDto) {}
